package com.lzy.wzy.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.LinkedHashMap;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UpTemplateDataBean {
    @NotBlank
    private String softVersion;

    @NotBlank
    private String leaveOneTemplateId;

    @NotEmpty
    private List<String> fieldName;

//    @NotEmpty
    private List<LinkedHashMap<String, Object>> body;

    @NotBlank
    private String workOrderNumber;
}
